/**
 * 
 */
package com.android.dwt;

import java.io.Serializable;

/**
 * @author xiang
 *
 */
public final class Position implements Serializable {
	
	private static final long serialVersionUID = -3727043610398318291L;
	
	private int mLatitude;			// measured in microdegrees (degrees * 1E6)
	private int mLongtitude;		// measured in microdegrees (degrees * 1E6)
	private String mAddress;		// address string
	private String mPlace;			// place name of an address
	
	public Position(String place) {
		mPlace = place;
	}
	
	public Position(String address, String place, int lat, int lng) {
		mPlace = place;
		mAddress = address;
		mLatitude = lat;
		mLongtitude = lng;
	}
	
	public String getPlace() {
		return mPlace;
	}
	
	public void setPlace(String place) {
		this.mPlace = place;
	}

	public int getLatitude() {
		return mLatitude;
	}

	public void setLatitude(int mLatitude) {
		this.mLatitude = mLatitude;
	}

	public int getLongtitude() {
		return mLongtitude;
	}

	public void setLongtitude(int mLongtitude) {
		this.mLongtitude = mLongtitude;
	}

	public String getAddress() {
		return mAddress;
	}

	public void setAddress(String mAddress) {
		this.mAddress = mAddress;
	}
}
